/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package exercicios.resolucoes.lista01.e03;

/**
 *
 * @author Borelli
 */
public class Conta {
    
    private String nome;
    private String numero;
    private double saldo;
    
    public void creditar(double valor) {
        System.out.println("Creditou " + valor);
        this.saldo += valor;
    }
    
    public void debitar(double valor) {
        System.out.println("Debitou " + valor);
        this.saldo -= valor;
    }
    
    public double getSaldo() {
        return this.saldo;
    }
    
}
